vector<int> nums = score;
// 将score从大到小排序
sort(score.begin(), score.end(), greater<int>());
// 找出每个数的序号放入nums
for (int i = 0; i < score.size(); i++)
{
    for (int j = 0; j < score.size(); j++)
    {
        if (nums[i] == score[j])
        {
            nums[i] = j;
            break;
        }
    }
}
vector<string> answer;
for (int i = 0; i < score.size(); i++)
{
    if (nums[i] == 0)
    {
        answer.push_back("Gold Medal");
    }
    else if (nums[i] == 1)
    {
        answer.push_back("Silver Medal");
    }
    else if (nums[i] == 2)
    {
        answer.push_back("Bronze Medal");
    }
    else
    {
        // 将数字转为字符串
        string num = to_string(nums[i] + 1);
        answer.push_back(num);
    }
}
return answer;
}